home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc / OpenDoc Development / Debugging Support / OpenDoc Source Code / DocShell / ErrMsgs.r < prev    next >
Encoding:
Text File  |  1996-04-22  |  45.1 KB  |  1,121 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ErrMsgs.r
  3.  
  4.     Contains:    Error Messages for the document shell
  5.  
  6.     Owned by:    Melissa Sleeter
  7.  
  8.     Copyright:    © 1994 - 1996 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.         
  12.          <2>     3/22/96    CC        1330388: Added kODErrCannotDeferClone
  13.         <28>    30/10/95    NP        1295276,1297278,1297281: Problems with
  14.                                     reporting private errors.
  15.         <27>    10/24/95    jpa        1293441: Added kODErrFatalContainerError
  16.         <26>    23/10/95    NP        1293899, 1293026: Error messages and
  17.                                     mapping tweaks.
  18.         <25>    17/10/95    NP        1292926: Duplicate entry 79 in STR#
  19.                                     resource.
  20.         <24>    12/10/95    NP        1284573: Final mods to error messages and
  21.                                     mappings.
  22.         <23>     10/9/95    VL        1288571: Added message for
  23.                                     kODErrNoSysTranslationFacility.
  24.         <22>     10/4/95    NP        1282801, 1285707, 1287830: Error
  25.                                     codes/messages changes.
  26.         <21>     9/29/95    eeh        1287262: use ShellDef.h
  27.         <20>     9/18/95    CG        1285279 GM: kODPartNotWrapper should be
  28.                                     kODErrPartNotWrapper.
  29.         <19>     9/12/95    DM        1278291: kODErrInvalidName ->
  30.                                     kODErrInvalidNSName
  31.         <18>     9/11/95    NP        Oops. Fixed file so it compiles.
  32.         <17>     9/11/95    NP        1281307: Need MacOS error mssgs. 1282801:
  33.                                     Some error messages missing (partial).
  34.         <16>      9/8/95    TÇ        1252120 FB1: New documents saved w/ StdFile
  35.                                     & trashed if closed w/o saving
  36.         <15>      9/8/95    VL        1282012: Removed kODErrDraftNotExists and
  37.                                     kODErrContainerNotExists.
  38.         <14>      9/8/95    jpa        Removed obsolete errors. Removed "invalid"
  39.                                     from names of errors that are actually
  40.                                     still valid. [1281354]
  41.         <13>      9/8/95    TÇ        1263308 FB3:Cryptic error msg when making
  42.                                     stationery from part not in the Editors
  43.                                     folder
  44.         <12>     8/24/95    EL        1278212: kODErrNoDocumentProperties no
  45.                                     longer needed.
  46.         <11>     8/21/95    NP        1274946:
  47.                                     kODErrInvalidCanvas->kODErrCanvasNotFound
  48.         <10>     8/18/95    NP        1274946: Had to remove some stuff. Still
  49.                                     need to fix up this file.
  50.          <9>     8/16/95    NP        1274946: ErrorDef.idl problems.
  51.          <8>      6/9/95    TJ        Include ErrorDef.r instead of ErrorDef.xh
  52.          <7>      6/1/95    jpa        Added msg for kODErrCantLoadSOMClass. Fixed
  53.                                     messages for kODErrCantCreatePart and
  54.                                     kODErrCantCreateContainer. [1242839]
  55.          <6>     5/25/95    VL        1251403: Multithreading naming support.
  56.          <5>     5/18/95    CC        1250280: Track rename to
  57.                                     kODErrNullFacetInput.
  58.          <4>     4/14/95    TÇ        #1221135    DR/BB: When OpenDoc Libraries
  59.                                     folder is missing, OpenDoc reports generic
  60.                                     error 84
  61.                                     #1239535    DR/BB: When Editors folder is
  62.                                     missing, OpenDoc reports undefined error
  63.                                     173.
  64.          <3>     3/28/95    TÇ        #1196779 BB: Better error message for
  65.                                     Saving a Copy onto oneself
  66.          <2+>     3/23/95    MS        Added "invalid error code" message strings for the 
  67.                                      following codes marked $$$$$:  kODErrAssertionFailed,
  68.                                     kODErrInvalidParameter, kODErrInvalidFrame, 
  69.                                     kODErrInvalidFacet, kODErrInvalidValue, 
  70.                                     kODErrInvalidRefCount, kODErrInvalidGraphicsSystem, 
  71.                                     kODErrTransformErr, kODErrInvalidCanvas, 
  72.                                     kODErrMemoryProblem, kODErrInvalidNSName, 
  73.                                     kODErrInvalidContainer, kODErrInvalidDocument, 
  74.                                     kODErrInvalidDraft, kODErrInvalidStorageUnit, 
  75.                                     kODErrInvalidType, kODErrInvalidProperty, 
  76.                                     kODErrInvalidID, kODErrInconsistentCloneKind, 
  77.                                     kODErrInvalidLinkKey, kODErrCannotCreateContainer, 
  78.                                     and kODErrCannotOpenContainer. Also, changed string 
  79.                                     reference for kOKErrWriteErr and kODErrZeroRefCount.
  80.                   3/22/95    MS        Added User ID message strings and Support ID 
  81.                                      placeholders for the following new error codes: 
  82.                                     kODErrPartInUse, 
  83.                                     kODErrCouldNotBindForeign Document, 
  84.                                     kODErrSystemVolumeIsFull, kODErrRefCountNotEqualOne, 
  85.                                     kODErrAllWritableVolumesAreFull, 
  86.                                     kODErrDirectoryNotHaveWriteAccess, 
  87.                                     kODErrCannotSaveACopyOntoCurrentDoc, 
  88.                                     kODErrCannotSaveACopyOntoBusyDoc, kODErrFileClosed, 
  89.                                     kODErrFileOpened, kODErrSOMException, 
  90.                                     kODErrCorruptLinkSource, kODErrCorruptLink, 
  91.                                     kODErrCannotRevealLink, 
  92.                                     kODErrCannotFindLinkSourceEdition, 
  93.                                     kODErrCannotFindLinkSource, kODErrAlreadyImportedLink,
  94.                                     kODErrLinkAlreadyExported, kODErrInvalidObjectType, 
  95.                                     kODErrInvalidPersistentObjectID, kODErrNullFacet, 
  96.                                     and kODErrIllegalNullStorageSystemInput.  
  97.          <2>     3/21/95    TÇ        Tweaked a couple of messages.
  98.          <1>    12/25/94    TÇ        first checked in
  99.          <0.4>    12/25/94    TÇ        1191189 Eliminate duplicate Def.h, Def.xh files
  100.                                     1187709 More frequent, robust and earlier error 
  101.                                     detection and reporting in the Shell.
  102.                                     Fixed resources so that they would compile with Rez.
  103.  
  104.          <0.3>    12/12/94    MS        entered more UserID error codes
  105.          <0.2>     12/5/94    MS        entered a few UserID errors for format check by Tantek
  106.          <0.1>    12/19/94    MS        alpha draft for UserID and SupportID error codes and 
  107.                                      strings
  108.  
  109.     Note(s) from Tantek:
  110.         1. Make sure to NOT put in things like
  111.              <"name">
  112.            in the middle of strings.  It doesn't work because quotes do not nest in Rez.
  113.         2. Try to make sure that Change History comments are no more than 80 chars 
  114.            per line.
  115.         3. DO NOT DELETE ANY STRINGS FROM THE STR# resources. Simply empty them out.
  116.            Like this:   ;""
  117.            This we they don't get renumbered, we don't have to try and fix up the
  118.            'errs' resources to point to the renumbered indexes into the STR# resources.
  119.         
  120.     In Progress:
  121.         
  122. */
  123.  
  124. #define SystemSevenOrBetter 1            // we want the extended types
  125. #define    SystemSevenOrLater    1            // Types.r uses this variable
  126.  
  127. #define oldTemp            // to get 'dctb' resources to rez
  128. #ifndef __TYPES_R__
  129. #include "Types.r"
  130. #endif
  131. #undef oldTemp
  132.  
  133. #ifndef _SHELLDEF_
  134. #include "ShellDef.h"
  135. #endif
  136.  
  137. #ifndef SOM_Module_OpenDoc_Errors_defined
  138. #include "ErrorDef.r"
  139. #endif
  140.  
  141. /* list mapping exception codes to user explanations */
  142.  
  143. /* See ErrorDef.idl for range information */
  144.  
  145. #define minUtilsErr -29849
  146. #define maxUtilsErr -29830
  147. #define minUIErr -29829
  148. #define maxUIErr -29827
  149. #define minShellErr -29826
  150. #define maxShellErr -29810
  151. #define minODBentoErr -29809
  152. #define maxODBentoErr -29789
  153. #define minBentoErr 1000
  154. #define maxBentoErr 1999
  155.  
  156. /*-------------------------------------errs-------------------------------------*/
  157. type 'errs' {
  158.     wide array {                                // Error list
  159.         LONGINT         whichList = 0,
  160.                     minErr = -2147483648;        // Low error number; 0 specifies STR#
  161.         LONGINT        maxErr = 2147483647;         // High error number
  162.         LONGINT;                                // Index in STR# of string
  163.     };
  164. };
  165.  
  166. resource 'errs' (kODErrUserID,purgeable) {
  167.     {    whichList, 0, kODErrUserIDStrings
  168.             ;kODErrInvalidFrame, kODErrInvalidFrame, 1
  169.             ;kODErrInvalidFacet, kODErrInvalidFacet, 1
  170.             ;kODErrIllegalNullInput, kODErrIllegalNullInput, 1
  171.             ;kODErrObjectNotInitialized, kODErrObjectNotInitialized, 1
  172.             ;kODErrOutOfMemory, kODErrOutOfMemory, 3
  173.             ;kODErrNotImplemented, kODErrNotImplemented, 1
  174.  
  175.             ;kODErrSubClassResponsibility, kODErrSubClassResponsibility, 1
  176.             ;kODErrUnsupportedExtension, kODErrUnsupportedExtension, 1
  177.             ;kODErrInvalidObjectType, kODErrInvalidObjectType, 1
  178.             ;kODErrInvalidPersistentObjectID, kODErrInvalidPersistentObjectID, 1
  179.             ;kODErrRefCountNotEqualOne, kODErrRefCountNotEqualOne, 1
  180.             ;kODErrZeroRefCount, kODErrZeroRefCount, 1
  181.             ;kODErrIteratorOutOfSync, kODErrIteratorOutOfSync, 1
  182.  
  183.             ;kODErrCannotEmbed, kODErrCannotEmbed, 8
  184.             ;kODErrKeyAlreadyExists, kODErrKeyAlreadyExists, 1
  185.             ;kODErrPartInUse, kODErrPartInUse, 45
  186.  
  187.     /* DOCSHELL PRIVATE CODES */
  188.             ;kODErrDirectoryNotHaveWriteAccess, kODErrDirectoryNotHaveWriteAccess, 10
  189.             ;kODErrCouldNotBindForeignDocument, kODErrCouldNotBindForeignDocument, 33
  190.             ;kODErrAllWritableVolumesAreFull, kODErrAllWritableVolumesAreFull, 34
  191.             ;kODErrSystemVolumeIsFull, kODErrSystemVolumeIsFull, 35
  192.             ;kODErrCannotSaveACopyOntoCurrentDoc, kODErrCannotSaveACopyOntoCurrentDoc, 36
  193.             ;kODErrCannotSaveACopyOntoBusyDoc, kODErrCannotSaveACopyOntoBusyDoc, 37
  194.             ;kODErrCannotFindSystemEditorsFolder, kODErrCannotFindSystemEditorsFolder, 70
  195.             ;kODErrCannotFindOpenDocLibrariesFolder, kODErrCannotFindOpenDocLibrariesFolder, 71
  196.             ;kODErrEditorLibraryNotFound, kODErrEditorLibraryNotFound, 74
  197.             ;kODErrCannotSaveAsOntoBusyDoc, kODErrCannotSaveAsOntoBusyDoc, 75
  198.     /* END DOCSHELL PRIVATE CODES */
  199.  
  200.             ;kODErrInvalidGraphicsSystem, kODErrInvalidGraphicsSystem, 1
  201.             ;kODErrNoShapeGeometry, kODErrNoShapeGeometry, 1
  202.             ;kODErrTransformErr, kODErrTransformErr, 1
  203.             ;kODErrCanvasNotFound, kODErrCanvasNotFound, 1
  204.             ;kODErrUnsupportedFramePositionCode, kODErrUnsupportedFramePositionCode, 1
  205.             ;kODErrIllegalNullPartInput, kODErrIllegalNullPartInput, 1
  206.             ;kODErrIllegalNullTransformInput, kODErrIllegalNullTransformInput, 1
  207.             ;kODErrIllegalNullStorageSystemInput, kODErrIllegalNullStorageSystemInput, 1
  208.             ;kODErrInvalidBlock, kODErrInvalidBlock, 45
  209.  
  210.             ;kODErrUnsupportedPosCode, kODErrUnsupportedPosCode, 1
  211.             ;kODErrInvalidPermissions, kODErrInvalidPermissions, 1
  212.             ;kODErrInvalidNSName, kODErrInvalidNSName, 1
  213.             ;kODErrInvalidStorageUnit, kODErrInvalidStorageUnit, 1
  214.             ;kODErrNoValueAtThatIndex, kODErrNoValueAtThatIndex, 1
  215.             ;kODErrCannotAddProperty, kODErrCannotAddProperty, 1
  216.  
  217.             ;kODErrUnfocusedStorageUnit, kODErrUnfocusedStorageUnit, 1
  218.             ;kODErrIllegalNullPropertyInput, kODErrIllegalNullPropertyInput, 1
  219.             ;kODErrIllegalNullSUCursorInput, kODErrIllegalNullSUCursorInput, 1
  220.             ;kODErrInvalidStorageUnitRef, kODErrInvalidStorageUnitRef, 1
  221.             ;kODErrInvalidStorageUnitKey, kODErrInvalidStorageUnitKey, 1
  222.             ;kODErrStorageUnitNotLocked, kODErrStorageUnitNotLocked, 1
  223.             ;kODErrNoDraftProperties, kODErrNoDraftProperties, 1
  224.  
  225.             ;kODErrCannotCreateFrame, kODErrCannotCreateFrame, 1
  226.             ;kODErrCannotAcquireFrame, kODErrCannotAcquireFrame, 1
  227.             ;kODErrCannotCreatePart, kODErrCannotCreatePart, 16
  228.             ;kODErrCannotAcquirePart, kODErrCannotAcquirePart, 1
  229.             ;kODErrCannotCreateLink, kODErrCannotCreateLink, 1
  230.             ;kODErrCannotAcquireLink, kODErrCannotAcquireLink, 1
  231.             ;kODErrInvalidID, kODErrInvalidID, 1
  232.             ;kODErrInconsistentCloneKind, kODErrInconsistentCloneKind, 1
  233.             ;kODErrInvalidCloneKind, kODErrInvalidCloneKind, 1
  234.             ;kODErrInvalidBelowDraft, kODErrInvalidBelowDraft, 1
  235.  
  236.             ;kODErrCannotCollapseDrafts, kODErrCannotCollapseDrafts, 18
  237.             ;kODErrNonEmptyDraft, kODErrNonEmptyDraft, 1
  238.             ;kODErrNoPreviousDraft, kODErrNoPreviousDraft, 1
  239.             ;kODErrOutstandingDraft, kODErrOutstandingDraft, 1
  240.             ;kODErrInvalidDraftID, kODErrInvalidDraftID, 1
  241.             ;kODErrCannotChangePermissions, kODErrCannotChangePermissions, 1
  242.             ;kODErrContainerExists, kODErrContainerExists, 1
  243.             ;kODErrCannotGetExternalLink, kODErrCannotGetExternalLink, 21
  244.  
  245.             ;kODErrNoLinkSpecValue, kODErrNoLinkSpecValue, 1
  246.             ;kODErrUnknownLinkSpecVersion, kODErrUnknownLinkSpecVersion, 1
  247.             ;kODErrCorruptLinkSpecValue, kODErrCorruptLinkSpecValue, 1
  248.             ;kODErrNotExportedLink, kODErrNotExportedLink,  1
  249.             ;kODErrBrokenLink, kODErrBrokenLink,  22
  250.             ;kODErrCannotRevealLink, kODErrCannotRevealLink, 39
  251.             ;kODErrCorruptLink, kODErrCorruptLink, 40
  252.             ;kODErrLinkAlreadyExported, kODErrLinkAlreadyExported, 42
  253.             ;kODErrNotImportedLink, kODErrNotImportedLink,  1
  254.             ;kODErrInvalidLinkKey, kODErrInvalidLinkKey, 1
  255.  
  256.             ;kODErrBrokenLinkSource, kODErrBrokenLinkSource, 23
  257.             ;kODErrCorruptLinkSource, kODErrCorruptLinkSource, 40
  258.             ;kODErrCannotFindLinkSourceEdition, kODErrCannotFindLinkSourceEdition, 41
  259.             ;kODErrCannotFindLinkSource, kODErrCannotFindLinkSource, 55
  260.             ;kODErrAlreadyImportedLink, kODErrAlreadyImportedLink, 42
  261.             ;kODErrDocNotSaved, kODErrDocNotSaved, 24
  262.             ;kODErrNoDragManager, kODErrNoDragManager, 25
  263.             ;kODErrNoDragSystemStorage, kODErrNoDragSystemStorage, 26
  264.             ;kODErrDragItemNotFound, kODErrDragItemNotFound, 56
  265.             ;kODErrCannotAllocateDragItem, kODErrCannotAllocateDragItem, 26
  266.  
  267.             ;kODErrUnknownDragImageType, kODErrUnknownDragImageType, 1
  268.             ;kODErrDragTrackingException, kODErrDragTrackingException, 27
  269.             ;kODErrNullFacetInput, kODErrNullFacetInput, 1
  270.             ;kODErrCannotCreateContainer, kODErrCannotCreateContainer, 1
  271.             ;kODErrCannotOpenContainer, kODErrCannotOpenContainer, 1
  272.             ;kODErrFocusAlreadyRegistered, kODErrFocusAlreadyRegistered,  1
  273.             ;kODErrFocusNotRegistered, kODErrFocusNotRegistered,  1
  274.             ;kODErrIllegalNullDispatchModuleInput, kODErrIllegalNullDispatchModuleInput,  1
  275.             ;kODErrCannotMarkAction, kODErrCannotMarkAction, 1
  276.             ;kODErrEmptyStack, kODErrEmptyStack, 1
  277.  
  278.             ;kODErrNoBeginAction, kODErrNoBeginAction, 1
  279.             ;kODErrCannotAddAction, kODErrCannotAddAction, 1
  280.             ;kODErrCannotCreateWindow, kODErrCannotCreateWindow, 30
  281.             ;kODErrInvalidDestinationDraft,kODErrInvalidDestinationDraft, 1
  282.             ;kODErrInvalidDraftKey, kODErrInvalidDraftKey,1
  283.             ;kODErrCloningInProgress, kODErrCloningInProgress, 1
  284.             ;kODErrIllegalNullTokenInput, kODErrIllegalNullTokenInput, 1
  285.             
  286.             ;kODErrIllegalNullShapeInput, kODErrIllegalNullShapeInput, 1
  287.             ;kODErrIllegalNullStorageUnitInput,kODErrIllegalNullStorageUnitInput, 1
  288.             ;kODErrDoesNotUndo, kODErrDoesNotLink, 4
  289.             ;kODErrPartNotWrapper, kODErrPartNotWrapper, 1
  290.             ;kODErrInvalidPersistentObject,  kODErrInvalidPersistentObject, 1
  291.  
  292.             ;kODErrUndefined, kODErrUndefined, 1
  293.  
  294.             ;kODErrAlreadyNotified, kODErrAlreadyNotified, 1
  295.  
  296.             ;kODErrIllegalNullFacetInput, kODErrIllegalNullFacetInput, 1
  297.             ;kODErrIllegalNullFrameInput, kODErrIllegalNullFrameInput, 1
  298.             ;kODErrIllegalNullContainerInput, kODErrIllegalNullContainerInput, 1
  299.             ;kODErrIllegalNullDocumentInput, kODErrIllegalNullDocumentInput, 1
  300.             ;kODErrIllegalNullDraftInput, kODErrIllegalNullDraftInput, 1
  301.             ;kODErrIllegalNullValueTypeInput, kODErrIllegalNullValueTypeInput, 1
  302.             ;kODErrIllegalNullIDInput, kODErrIllegalNullIDInput, 1
  303.  
  304.             ;kODErrValueOutOfRange, kODErrValueOutOfRange, 1
  305.  
  306.             ;kODErrInsufficientInfoInParams, kODErrInsufficientInfoInParams, 1
  307.  
  308.             ;kODErrInvalidPersistentFormat, kODErrInvalidPersistentFormat, 49
  309.  
  310.             ;kODErrInvalidExtension, kODErrInvalidExtension, 1
  311.             ;kODErrUnknownExtension, kODErrUnknownExtension, 1
  312.  
  313.             ;kODErrRefCountGreaterThanZero, kODErrRefCountGreaterThanZero, 1
  314.  
  315.             ;kODErrIteratorNotInitialized, kODErrIteratorNotInitialized, 1
  316.  
  317.             ;kODErrNoPromises, kODErrNoPromises, 1
  318.             ;kODErrDoesNotDrop, kODErrDoesNotDrop, 1
  319.  
  320.             ;kODErrInvalidNSName, kODErrInvalidNSName, 1
  321.             ;kODErrInvalidNSType, kODErrInvalidNSType, 1
  322.  
  323.             ;kODErrInvalidITextFormat, kODErrInvalidITextFormat, 1
  324.  
  325.             ;kODErrInvalidPlatformShape, kODErrInvalidPlatformShape, 1
  326.  
  327.             ;kODErrFacetNotFound, kODErrFacetNotFound, 1
  328.             ;kODErrCanvasHasNoOwner, kODErrCanvasHasNoOwner, 1
  329.             ;kODErrNotRootFrame, kODErrNotRootFrame, 1
  330.             ;kODErrIllegalRecursiveEmbedding, kODErrIllegalRecursiveEmbedding, 50
  331.             ;kODErrFrameHasFacets, kODErrFrameHasFacets, 1
  332.  
  333.             ;kODErrInvalidLinkStatus, kODErrInvalidLinkStatus, 1
  334.  
  335.             ;kODErrNotAnODToken, kODErrNotAnODToken, 1
  336.             ;kODErrCantCountFromLists, kODErrCantCountFromLists, 51
  337.  
  338.             ;kODErrContainerDoesNotExist, kODErrContainerDoesNotExist, 1
  339.             ;kODErrDocumentDoesNotExist, kODErrDocumentDoesNotExist, 1
  340.             ;kODErrDraftDoesNotExist, kODErrDraftDoesNotExist, 1
  341.             ;kODErrDraftHasBeenDeleted, kODErrDraftHasBeenDeleted, 1
  342.             ;kODErrIllegalOperationOnSU, kODErrIllegalOperationOnSU, 1
  343.             ;kODErrSUValueDoesNotExist, kODErrSUValueDoesNotExist, 1
  344.             ;kODErrIllegalNonTopmostDraft, kODErrIllegalNonTopmostDraft, 1
  345.  
  346.             ;kODErrValueIndexOutOfRange, kODErrValueIndexOutOfRange, 1
  347.             ;kODErrInvalidValueType, kODErrInvalidValueType, 1
  348.             ;kODErrIllegalPropertyName, kODErrIllegalPropertyName, 1
  349.             ;kODErrPropertyDoesNotExist, kODErrPropertyDoesNotExist, 1
  350.             ;kODErrMoveIntoSelf, kODErrMoveIntoSelf, 50
  351.  
  352.             ;kODErrNullDestinationFrame, kODErrNullDestinationFrame, 1
  353.             ;kODErrNoLinkContent, kODErrNoLinkContent, 52
  354.             ;kODErrCannotRegisterDependent, kODErrCannotRegisterDependent, 1
  355.             ;kODErrUnknownUpdateID, kODErrUnknownUpdateID, 1
  356.             ;kODErrCannotEstablishLink, kODErrCannotEstablishLink, 52
  357.             ;kODErrNoEditionManager, kODErrNoEditionManager, 53
  358.             ;kODErrNullLinkInfoInput, kODErrNullLinkInfoInput, 1
  359.             ;kODErrNullLinkInfoResultInput, kODErrNullLinkInfoResultInput, 1
  360.  
  361.             ;kODErrNullPasteAsResultInput, kODErrNullPasteAsResultInput, 1
  362.             ;kODErrBackgroundClipboardClear, kODErrBackgroundClipboardClear, 1
  363.             ;kODErrIllegalClipboardCloneKind, kODErrIllegalClipboardCloneKind, 1
  364.  
  365.             ;kODErrInvalidCommandID, kODErrInvalidCommandID, 1
  366.             ;kODErrNoSysTranslationFacility, kODErrNoSysTranslationFacility, 54
  367.  
  368.             ;kODErrFatalContainerError, kODErrFatalContainerError, 13
  369.             ;kODErrCannotDeferClone, kODErrCannotDeferClone, 1
  370.  
  371. /* There should be a Errors.r! */
  372.  
  373. #define dirFulErr -33
  374. #define dskFulErr -34
  375. #define nsvErr -35
  376. #define ioErr -36
  377. #define bdNamErr -37
  378. #define fnfErr -43
  379. #define wPrErr -44
  380. #define fLckdErr -45
  381. #define vLckdErr -46
  382. #define fBsyErr -47
  383. #define dupFNErr -48
  384. #define opWrErr -49
  385. #define permErr -54
  386. #define wrPermErr -61
  387. #define dirNFErr -120
  388. #define memFullErr -108
  389. #define resNotFound -192
  390. #define resFNotFound -193
  391. #define fragLibNotFound -2804
  392. #define fragHadUnresolveds -2807
  393.  
  394.             ;dirFulErr, dirFulErr, 80
  395.             ;dskFulErr, dskFulErr, 81
  396.             ;nsvErr, nsvErr,  82
  397.             ;ioErr, ioErr,  83
  398.             ;bdNamErr, bdNamErr,  84
  399.             ;nsvErr, nsvErr,  85
  400.             ;fnfErr, fnfErr,  86
  401.             ;wPrErr, wPrErr,  87
  402.             ;fLckdErr, fLckdErr,  88
  403.             ;vLckdErr, vLckdErr,  89
  404.             ;fBsyErr, fBsyErr,  90
  405.             ;dupFNErr, dupFNErr,  91
  406.             ;opWrErr, opWrErr,  92
  407.             ;permErr, permErr,  93
  408.             ;wrPermErr, wrPermErr,  94
  409.             ;dirNFErr, dirNFErr,  95
  410.             ;memFullErr, memFullErr,  3
  411.             ;resNotFound, resNotFound,  1
  412.             ;resFNotFound, resFNotFound,  86
  413.             ;fragLibNotFound, fragLibNotFound,  100
  414.             ;fragHadUnresolveds, fragHadUnresolveds,  100
  415.  
  416.  
  417. #if ODDebug
  418.             ;minUtilsErr, maxUtilsErr, 5
  419.             ;minShellErr, maxShellErr, 7
  420.             ;minODBentoErr, maxODBentoErr, 9
  421.             ;minBentoErr, maxBentoErr, 11
  422. #else
  423.             ;minUtilsErr, maxUtilsErr, 1
  424.             ;minShellErr, maxShellErr, 1
  425.             ;minODBentoErr, maxODBentoErr, 11
  426.             ;minBentoErr, maxBentoErr, 11
  427. #endif
  428.             ;minUIErr, maxUIErr, 6
  429.  
  430.             ;kODMinError, kODMinUsedError, 79
  431.  
  432.             ;minErr, maxErr, 2
  433.             
  434.     }
  435. };
  436.  
  437. /* error user explanations */
  438. /*
  439.    DO NOT DELETE ANY STRINGS FROM THE STR# resources. Simply empty them out.
  440.    Like this:   ;""
  441.    This we they don't get renumbered, we don't have to try and fix up the
  442.    'errs' resources to point to the renumbered indexes into the STR# resources.
  443. */
  444.  
  445. resource 'STR#' (kODErrUserIDStrings,purgeable) {
  446.     {        "An unknown error has occurred in OpenDoc or a part editor."
  447. /* 2 */        ;"An unknown error has occurred, probably a part editor error. Try using a different editor."
  448. /* 3 */        ;"Out of memory. Try closing some windows to make more memory available."
  449. /* 4 */        ;"The feature or action you requested is not implemented in this part editor. Try using a different editor."
  450. /* 5 */        ;"A private Utilities error has found its way to the shell. This ahouldn't happen. Please file a bug."
  451. #if ODDebug
  452. /* 6 */        ;"A private UI subsystem error has found its way to the shell. This ahouldn't happen. Please file a bug."
  453. #else
  454. /* 6 */        ;"An internal error has occurred in OpenDoc's event processing."
  455. #endif
  456. /* 7 */        ;"A private Shell subsystem error has found its way to the shell. This ahouldn't happen. Please file a bug."
  457. /* 8 */        ;"The part editor used to create the document doesn’t allow embedding. Try using a different editor."
  458. /* 9 */        ;"A private Bento container suite error has found its way to the shell. This ahouldn't happen. Please file a bug."
  459. /* 10 */    ;"You can't change the document because you don't have enough access privileges. See the owner of the document to have your privileges changed or make a copy of the document to make changes to it."
  460.  
  461. /* 11*/        ;"An internal error has occurred in OpenDoc’s document storage system."
  462. /* 12 */    ;"A private Bento error has found its way to the shell. This ahouldn't happen. Please file a bug."
  463. /* 13 */    ;"A fatal storage error occurred (probably out of memory or disk space.) The document file is intact, but must close immediately without saving changes. Sorry."
  464. #if ODDebug
  465. /* 14 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  466. /* 15 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  467. #else
  468. /* 14 */    ;""
  469. /* 15 */    ;""
  470. #endif
  471. /* 16 */    ;"The part editor could not be found. Try reinstalling it."
  472. #if ODDebug
  473. /* 17 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  474. #else
  475. /* 17 */    ;""
  476. #endif
  477. /* 18 */    ;"You can’t delete drafts of this document."
  478. #if ODDebug
  479. /* 19 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  480. /* 20 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  481. #else
  482. /* 19 */    ;""
  483. /* 20 */    ;""
  484. #endif
  485.  
  486. /* 21 */    ;"Can't create the link because the source document has been closed. Try recreating the link."
  487. /* 22 */    ;"The link has unexpectedly broken. Try re-creating the link."
  488. /* 23 */    ;"The connection between the link source and all destinations has unexpectedly been broken. You'll need to re-create all links to the source."
  489. /* 24 */    ;"The link cannot be created until the link source has been saved. Save the document that contains the link source, then try again."
  490. /* 25 */    ;"Drag and Drop is not installed on your computer. Try copying and pasting your information."
  491. /* 26 */    ;"There is not enough memory to drag and drop all these items. Try dragging them one at a time."
  492. /* 27 */    ;"An unknown error occurred while dragging."
  493. #if ODDebug
  494. /* 28 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  495. /* 29 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  496. #else
  497. /* 28 */    ;""
  498. /* 29 */    ;""
  499. #endif
  500. /* 30 */    ;"OpenDoc is out of memory and can’t open any more windows. Try closing some windows to make more memory available."
  501.  
  502. #if ODDebug
  503. /* 31 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  504. /* 32 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  505. #else
  506. /* 31 */    ;""
  507. /* 32 */    ;""
  508. #endif
  509. /* 33 */    ;"The document can't be opened because you don't have the part editor that was used to create the document. Contact the vendor for the part editor."
  510. /* 34 */    ;"Cannot create a new document because every available disk is full."
  511. /* 35 */    ;"Cannot create a new document because the startup disk is full."
  512. /* 36 */    ;"Cannot save a copy of a document onto itself. Give the copy a different name."
  513. /* 37 */    ;"Cannot save a copy onto an open document."
  514. #if ODDebug
  515. /* 38 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  516. #else
  517. /* 38 */    ;""
  518. #endif
  519. /* 39 */    ;"Cannot find the link source because it has been deleted. Try recreating the link."
  520. /* 40 */    ;"There is a problem with this link. Try breaking the link, then creating it again."
  521.  
  522. /* 41 */    ;"There is a problem with the Edition file, an intermediary file which handles links. Try breaking and re-creating the link."
  523. /* 42 */    ;"An OpenDoc linking error occurred. Break and re-create the link. Then close and re-open the document. "
  524. #if ODDebug
  525. /* 43 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  526. /* 44 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  527. #else
  528. /* 43 */    ;""
  529. /* 44 */    ;""
  530. #endif
  531. /* 45 */    ;"The part is in use. Try again later."
  532. /* 46 */    ;"An internal memory error has occurred. Try closing the document, then opening it again."
  533. #if ODDebug
  534. /* 47 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  535. /* 48 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  536. #else
  537. /* 47 */    ;""
  538. /* 48 */    ;""
  539. #endif
  540. /* 49 */    ;"Some data in the document cannot be read because its format is unknown."
  541. /* 50 */    ;"Cannot insert a part within itself."
  542.  
  543. /* 51 */    ;"Cannot process an incoming event (possibly a script)."
  544. /* 52 */    ;"There was a problem creating this link. Please recreate the link."
  545. /* 53 */    ;"A necessary system service, the Edition Manager, is not available in your system software. To get the Edition Manager, upgrade to System Software version 7.0 or later."
  546. /* 54 */    ;"A necessary system service is not available (translation services)."
  547. /* 55 */    ;"Cannot find the link source. Trying breaking and re-creating the link."
  548. /* 56 */    ;"Cannot find the item to be dragged."
  549. #if ODDebug
  550. /* 57 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  551. /* 58 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  552. /* 59 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  553. /* 60 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  554.  
  555. /* 61 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  556. /* 62 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  557. /* 63 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  558. /* 64 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  559. /* 65 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  560. /* 66 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  561. /* 67 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  562. #else
  563. /* 57 */    ;""
  564. /* 58 */    ;""
  565. /* 59 */    ;""
  566. /* 60 */    ;""
  567.  
  568. /* 61 */    ;""
  569. /* 62 */    ;""
  570. /* 63 */    ;""
  571. /* 64 */    ;""
  572. /* 65 */    ;""
  573. /* 66 */    ;""
  574. /* 67 */    ;""
  575. #endif
  576. #if ODDebug
  577. /* 68 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  578. /* 69 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  579. #else
  580. /* 68 */    ;""
  581. /* 69 */    ;""
  582. #endif
  583. /* 70 */    ;"Cannot find the Editors folder. Re-install OpenDoc and your part editors."
  584.  
  585. /* 71 */    ;"Cannot find the OpenDoc Libraries Folder. Re-install OpenDoc."
  586. #if ODDebug
  587. /* 72 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  588. /* 73 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  589. #else
  590. /* 72 */    ;""
  591. /* 73 */    ;""
  592. #endif
  593. /* 74 */    ;"Unable to create new stationery because the part editor could not be found.  "
  594.                 "Please make sure it is installed correctly."
  595. /* 75 */    ;"Cannot save as onto an open document."
  596. #if ODDebug
  597. /* 76 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  598. /* 77 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  599. /* 78 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  600. /* 79 */    ;"Missing an entry for an OpenDoc error code. Please file a bug."
  601. #else
  602. /* 76 */    ;""
  603. /* 77 */    ;""
  604. /* 78 */    ;""
  605. /* 79 */    ;""
  606. #endif
  607. /* 80 */    ;"The directory is full. Try removing files from the folder or starting a new folder."
  608.  
  609. /* 81 */    ;"The disk is full. Try removing files from the disk."
  610. /* 82 */    ;"The disk does not exist."
  611. /* 83 */    ;"There is a hardware problem with the hard disk."
  612. /* 84 */    ;"A bad file name was used. The name may contain special characters that are not allowed. Try using a different name."
  613. /* 85 */    ;"The disk does not exist."
  614. /* 86 */    ;"The file was not found."
  615. /* 87 */    ;"The diskette is locked."
  616. /* 88 */    ;"The file is locked."
  617. /* 89 */    ;"The volume is locked."
  618. /* 90 */    ;"The file is already open."
  619.  
  620. /* 91 */    ;"A file by that name already exists. Use a different name."
  621. /* 92 */    ;"The file is already open."
  622. /* 93 */    ;"Cannot access the file."
  623. /* 94 */    ;"Cannot access the file for writing. The folder or disk may be locked or you may not have privileges to change the file."
  624. /* 95 */    ;"The folder was not found."
  625. #if ODDebug
  626. /* 96 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  627. /* 97 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  628. /* 98 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  629. /* 99 */    ;"Unused slot in messages table. You shouldn't be seeing this message. Please file a bug."
  630. #else
  631. /* 96 */    ;""
  632. /* 97 */    ;""
  633. /* 98 */    ;""
  634. /* 99 */    ;""
  635. #endif
  636. /* 100 */    ;"Cannot find all the necessary shared libraries. Try re-installing OpenDoc."
  637.     }
  638. };
  639.  
  640. /* list mapping exception codes to technical explanations */
  641.  
  642. resource 'errs' (kODErrSupportID,purgeable) {
  643.     {    whichList, 0, kODErrSupportIDStrings
  644.             ;kODErrUndefined, kODErrUndefined, 99
  645.             ;kODErrIllegalNullInput, kODErrIllegalNullInput, 2
  646.             ;kODErrObjectNotInitialized, kODErrObjectNotInitialized, 3
  647.             ;kODErrOutOfMemory, kODErrOutOfMemory, 4
  648.             ;kODErrNotImplemented, kODErrNotImplemented, 5
  649.             ;kODErrSubClassResponsibility, kODErrSubClassResponsibility, 8
  650.             ;kODErrUnsupportedExtension, kODErrUnsupportedExtension, 9
  651.             ;kODErrZeroRefCount, kODErrZeroRefCount, 10
  652.             
  653.             ;kODErrIteratorOutOfSync, kODErrIteratorOutOfSync, 11
  654.             ;kODErrCannotEmbed, kODErrCannotEmbed, 12
  655.             ;kODErrKeyAlreadyExists, kODErrKeyAlreadyExists, 13
  656.             ;kODErrNoShapeGeometry, kODErrNoShapeGeometry, 15
  657.             ;kODErrUnsupportedFramePositionCode, kODErrUnsupportedFramePositionCode, 16
  658.             ;kODErrIllegalNullPartInput, kODErrIllegalNullPartInput, 17
  659.             ;kODErrIllegalNullTransformInput, kODErrIllegalNullTransformInput, 18
  660.             ;kODErrUnsupportedPosCode, kODErrUnsupportedPosCode, 20
  661.             
  662.             ;kODErrInvalidPermissions, kODErrInvalidPermissions, 21
  663.             ;kODErrNoValueAtThatIndex, kODErrNoValueAtThatIndex, 22
  664.             ;kODErrCannotAddProperty, kODErrCannotAddProperty, 23
  665.             ;kODErrUnfocusedStorageUnit, kODErrUnfocusedStorageUnit, 25
  666.             ;kODErrIllegalNullPropertyInput, kODErrIllegalNullPropertyInput, 26
  667.             ;kODErrIllegalNullSUCursorInput, kODErrIllegalNullSUCursorInput, 27
  668.             ;kODErrInvalidStorageUnitRef, kODErrInvalidStorageUnitRef, 28
  669.             ;kODErrInvalidStorageUnitKey, kODErrInvalidStorageUnitKey, 30
  670.             
  671.             ;kODErrStorageUnitNotLocked, kODErrStorageUnitNotLocked, 31
  672.             ;kODErrNoDraftProperties, kODErrNoDraftProperties, 32
  673.             ;kODErrCannotCreateFrame, kODErrCannotCreateFrame, 33
  674.             ;kODErrCannotAcquireFrame, kODErrCannotAcquireFrame, 34
  675.             ;kODErrCannotCreatePart, kODErrCannotCreatePart, 35
  676.             ;kODErrCannotAcquirePart, kODErrCannotAcquirePart, 36
  677.             ;kODErrCannotCreateLink, kODErrCannotCreateLink, 37
  678.             ;kODErrCannotAcquireLink, kODErrCannotAcquireLink, 38
  679.             ;kODErrInvalidCloneKind, kODErrInvalidCloneKind, 39
  680.             ;kODErrInvalidBelowDraft, kODErrInvalidBelowDraft, 40
  681.             
  682.             ;kODErrCannotCollapseDrafts, kODErrCannotCollapseDrafts, 42
  683.             ;kODErrNonEmptyDraft, kODErrNonEmptyDraft, 43
  684.             ;kODErrNoPreviousDraft, kODErrNoPreviousDraft, 44
  685.             ;kODErrOutstandingDraft, kODErrOutstandingDraft, 45
  686.             ;kODErrInvalidDraftID, kODErrInvalidDraftID, 46
  687.             ;kODErrCannotChangePermissions, kODErrCannotChangePermissions, 47
  688.             ;kODErrContainerExists, kODErrContainerExists, 48
  689.             ;kODErrCannotGetExternalLink, kODErrCannotGetExternalLink, 50
  690.             
  691.             ;kODErrNoLinkSpecValue, kODErrNoLinkSpecValue, 51
  692.             ;kODErrUnknownLinkSpecVersion, kODErrUnknownLinkSpecVersion, 52
  693.             ;kODErrCorruptLinkSpecValue, kODErrCorruptLinkSpecValue, 53
  694.             ;kODErrNotExportedLink, kODErrNotExportedLink, 54
  695.             ;kODErrBrokenLink, kODErrBrokenLink, 55
  696.             ;kODErrNotImportedLink, kODErrNotImportedLink, 56
  697.             ;kODErrBrokenLinkSource, kODErrBrokenLinkSource, 57
  698.             ;kODErrDocNotSaved, kODErrDocNotSaved, 58
  699.             ;kODErrNoDragManager, kODErrNoDragManager, 59
  700.             ;kODErrNoDragSystemStorage, kODErrNoDragSystemStorage, 60
  701.         
  702.             ;kODErrDragItemNotFound, kODErrDragItemNotFound, 61
  703.             ;kODErrCannotAllocateDragItem, kODErrCannotAllocateDragItem, 62
  704.             ;kODErrUnknownDragImageType, kODErrUnknownDragImageType, 63
  705.             ;kODErrDragTrackingException, kODErrDragTrackingException, 64
  706.             ;kODErrFocusAlreadyRegistered, kODErrFocusAlreadyRegistered, 65
  707.             ;kODErrFocusNotRegistered, kODErrFocusNotRegistered, 66
  708.             ;kODErrIllegalNullDispatchModuleInput, kODErrIllegalNullDispatchModuleInput, 67
  709.             ;kODErrCannotMarkAction, kODErrCannotMarkAction, 68
  710.             ;kODErrEmptyStack, kODErrEmptyStack, 69
  711.             ;kODErrNoBeginAction, kODErrNoBeginAction, 70
  712.     
  713.             ;kODErrCannotAddAction, kODErrCannotAddAction, 71
  714.             ;kODErrCannotCreateWindow, kODErrCannotCreateWindow, 72
  715.             ;kODErrInvalidObjectType, kODErrInvalidObjectType,74
  716.             ;kODErrInvalidPersistentObjectID, kODErrInvalidPersistentObjectID, 75
  717.             ;kODErrRefCountNotEqualOne, kODErrRefCountNotEqualOne, 76
  718.             ;kODErrCouldNotBindForeignDocument, kODErrCouldNotBindForeignDocument, 77
  719.             ;kODErrPartInUse, kODErrPartInUse, 78
  720.             ;kODErrAllWritableVolumesAreFull, kODErrAllWritableVolumesAreFull, 79
  721.             ;kODErrSystemVolumeIsFull, kODErrSystemVolumeIsFull, 80
  722.  
  723.             ;kODErrDirectoryNotHaveWriteAccess, kODErrDirectoryNotHaveWriteAccess, 81
  724.             ;kODErrCannotSaveACopyOntoCurrentDoc, kODErrCannotSaveACopyOntoCurrentDoc, 82
  725.             ;kODErrCannotSaveACopyOntoBusyDoc, kODErrCannotSaveACopyOntoBusyDoc, 83
  726.             ;kODErrIllegalNullStorageSystemInput, kODErrIllegalNullStorageSystemInput, 84
  727.             ;kODErrCannotRevealLink, kODErrCannotRevealLink, 85
  728.             ;kODErrCorruptLink, kODErrCorruptLink, 86
  729.             ;kODErrLinkAlreadyExported, kODErrLinkAlreadyExported, 87
  730.             ;kODErrCorruptLinkSource, kODErrCorruptLinkSource, 88
  731.             ;kODErrCannotFindLinkSourceEdition, kODErrCannotFindLinkSourceEdition, 89
  732.             ;kODErrCannotFindLinkSource, kODErrCannotFindLinkSource, 90
  733.  
  734.             ;kODErrAlreadyImportedLink, kODErrAlreadyImportedLink, 91
  735.             ;kODErrNullFacetInput, kODErrNullFacetInput, 92
  736.             ;kODErrInvalidFrame, kODErrInvalidFrame, 97
  737.             ;kODErrInvalidFacet, kODErrInvalidFacet, 98
  738.  
  739.             ;kODErrInvalidGraphicsSystem, kODErrInvalidGraphicsSystem, 101
  740.             ;kODErrTransformErr, kODErrTransformErr, 102
  741.             ;kODErrCanvasNotFound, kODErrCanvasNotFound, 103
  742.             ;kODErrInvalidBlock, kODErrInvalidBlock, 104
  743.             ;kODErrInvalidNSName, kODErrInvalidNSName, 105
  744.             ;kODErrInvalidStorageUnit, kODErrInvalidStorageUnit, 109
  745.  
  746.             ;kODErrInvalidID, kODErrInvalidID, 112
  747.             ;kODErrInconsistentCloneKind, kODErrInconsistentCloneKind, 113
  748.             ;kODErrInvalidLinkKey, kODErrInvalidLinkKey, 114
  749.             ;kODErrCannotCreateContainer, kODErrCannotCreateContainer, 115
  750.             ;kODErrCannotOpenContainer, kODErrCannotOpenContainer, 116
  751.             ;kODErrInvalidDestinationDraft,kODErrInvalidDestinationDraft, 117
  752.             ;kODErrInvalidDraftKey, kODErrInvalidDraftKey, 118
  753.             ;kODErrCloningInProgress, kODErrCloningInProgress, 119
  754.  
  755.             ;kODErrIllegalNullTokenInput, kODErrIllegalNullTokenInput, 121        
  756.             ;kODErrIllegalNullShapeInput, kODErrIllegalNullShapeInput, 122
  757.             ;kODErrIllegalNullStorageUnitInput,kODErrIllegalNullStorageUnitInput, 123
  758.             ;kODErrCannotFindSystemEditorsFolder, kODErrCannotFindSystemEditorsFolder, 124
  759.             ;kODErrCannotFindOpenDocLibrariesFolder, kODErrCannotFindOpenDocLibrariesFolder, 125
  760.             ;kODErrDoesNotUndo, kODErrDoesNotLink, 126
  761.             ;kODErrPartNotWrapper, kODErrPartNotWrapper, 127
  762.             ;kODErrInvalidPersistentObject,  kODErrInvalidPersistentObject, 128
  763.             ;kODErrEditorLibraryNotFound, kODErrEditorLibraryNotFound, 130
  764.             ;kODErrCannotSaveAsOntoBusyDoc, kODErrCannotSaveAsOntoBusyDoc, 131
  765.  
  766.             ;kODErrAlreadyNotified, kODErrAlreadyNotified, 132
  767.  
  768.             ;kODErrIllegalNullFacetInput, kODErrIllegalNullFacetInput, 133
  769.             ;kODErrIllegalNullFrameInput, kODErrIllegalNullFrameInput, 134
  770.             ;kODErrIllegalNullContainerInput, kODErrIllegalNullContainerInput, 135
  771.             ;kODErrIllegalNullDocumentInput, kODErrIllegalNullDocumentInput, 136
  772.             ;kODErrIllegalNullDraftInput, kODErrIllegalNullDraftInput, 137
  773.             ;kODErrIllegalNullValueTypeInput, kODErrIllegalNullValueTypeInput, 138
  774.             ;kODErrIllegalNullIDInput, kODErrIllegalNullIDInput, 139
  775.  
  776.             ;kODErrValueOutOfRange, kODErrValueOutOfRange, 140
  777.  
  778.             ;kODErrInsufficientInfoInParams, kODErrInsufficientInfoInParams, 141
  779.  
  780.             ;kODErrInvalidPersistentFormat, kODErrInvalidPersistentFormat, 142
  781.  
  782.             ;kODErrInvalidExtension, kODErrInvalidExtension, 143
  783.             ;kODErrUnknownExtension, kODErrUnknownExtension, 144
  784.  
  785.             ;kODErrRefCountGreaterThanZero, kODErrRefCountGreaterThanZero, 145
  786.  
  787.             ;kODErrIteratorNotInitialized, kODErrIteratorNotInitialized, 146
  788.  
  789.             ;kODErrNoPromises, kODErrNoPromises, 147
  790.             ;kODErrDoesNotDrop, kODErrDoesNotDrop, 148
  791.  
  792.             ;kODErrInvalidNSName, kODErrInvalidNSName, 149
  793.             ;kODErrInvalidNSType, kODErrInvalidNSType, 150
  794.  
  795.             ;kODErrInvalidITextFormat, kODErrInvalidITextFormat, 151
  796.  
  797.             ;kODErrInvalidPlatformShape, kODErrInvalidPlatformShape, 152
  798.  
  799.             ;kODErrFacetNotFound, kODErrFacetNotFound, 153
  800.             ;kODErrCanvasHasNoOwner, kODErrCanvasHasNoOwner, 154
  801.             ;kODErrNotRootFrame, kODErrNotRootFrame, 155
  802.             ;kODErrIllegalRecursiveEmbedding, kODErrIllegalRecursiveEmbedding, 156
  803.             ;kODErrFrameHasFacets, kODErrFrameHasFacets, 157
  804.  
  805.             ;kODErrInvalidLinkStatus, kODErrInvalidLinkStatus, 158
  806.  
  807.             ;kODErrNotAnODToken, kODErrNotAnODToken, 159
  808.             ;kODErrCantCountFromLists, kODErrCantCountFromLists, 160
  809.  
  810.             ;kODErrContainerDoesNotExist, kODErrContainerDoesNotExist, 161
  811.             ;kODErrDocumentDoesNotExist, kODErrDocumentDoesNotExist, 162
  812.             ;kODErrDraftDoesNotExist, kODErrDraftDoesNotExist, 163
  813.             ;kODErrDraftHasBeenDeleted, kODErrDraftHasBeenDeleted, 164
  814.             ;kODErrIllegalOperationOnSU, kODErrIllegalOperationOnSU, 165
  815.             ;kODErrSUValueDoesNotExist, kODErrSUValueDoesNotExist, 166
  816.             ;kODErrIllegalNonTopmostDraft, kODErrIllegalNonTopmostDraft, 167
  817.  
  818.             ;kODErrValueIndexOutOfRange, kODErrValueIndexOutOfRange, 168
  819.             ;kODErrInvalidValueType, kODErrInvalidValueType, 169
  820.             ;kODErrIllegalPropertyName, kODErrIllegalPropertyName, 170
  821.             ;kODErrPropertyDoesNotExist, kODErrPropertyDoesNotExist, 171
  822.             ;kODErrMoveIntoSelf, kODErrMoveIntoSelf, 172
  823.  
  824.             ;kODErrNullDestinationFrame, kODErrNullDestinationFrame, 173
  825.             ;kODErrNoLinkContent, kODErrNoLinkContent, 174
  826.             ;kODErrCannotRegisterDependent, kODErrCannotRegisterDependent, 175
  827.             ;kODErrUnknownUpdateID, kODErrUnknownUpdateID, 176
  828.             ;kODErrCannotEstablishLink, kODErrCannotEstablishLink, 177
  829.             ;kODErrNoEditionManager, kODErrNoEditionManager, 178
  830.             ;kODErrNullLinkInfoInput, kODErrNullLinkInfoInput, 179
  831.             ;kODErrNullLinkInfoResultInput, kODErrNullLinkInfoResultInput, 180
  832.  
  833.             ;kODErrNullPasteAsResultInput, kODErrNullPasteAsResultInput, 181
  834.             ;kODErrBackgroundClipboardClear, kODErrBackgroundClipboardClear, 182
  835.             ;kODErrIllegalClipboardCloneKind, kODErrIllegalClipboardCloneKind, 183
  836.  
  837.             ;kODErrInvalidCommandID, kODErrInvalidCommandID, 184
  838.             ;kODErrNoSysTranslationFacility, kODErrNoSysTranslationFacility, 206
  839.  
  840.             ;kODErrFatalContainerError, kODErrFatalContainerError, 96
  841.             ;kODErrCannotDeferClone, kODErrCannotDeferClone, 100
  842.  
  843.             ;dirFulErr, dirFulErr, 185
  844.             ;dskFulErr, dskFulErr, 186
  845.             ;nsvErr, nsvErr,  187
  846.             ;ioErr, ioErr,  188
  847.             ;bdNamErr, bdNamErr,  189
  848.             ;nsvErr, nsvErr,  190
  849.             ;fnfErr, fnfErr,  191
  850.             ;wPrErr, wPrErr,  192
  851.             ;fLckdErr, fLckdErr,  193
  852.             ;vLckdErr, vLckdErr,  194
  853.             ;fBsyErr, fBsyErr,  195
  854.             ;dupFNErr, dupFNErr,  196
  855.             ;opWrErr, opWrErr,  197
  856.             ;permErr, permErr,  198
  857.             ;wrPermErr, wrPermErr,  199
  858.             ;dirNFErr, dirNFErr,  200
  859.             ;memFullErr, memFullErr,  201
  860.             ;resNotFound, resNotFound,  202
  861.             ;resFNotFound, resFNotFound,  203
  862.             ;fragLibNotFound, fragLibNotFound,  204
  863.             ;fragHadUnresolveds, fragHadUnresolveds,  205
  864.  
  865.  
  866.             ;minUtilsErr, maxUtilsErr, 24
  867.             ;minShellErr, maxShellErr, 29
  868.             ;minODBentoErr, maxODBentoErr, 41
  869.             ;minBentoErr, maxBentoErr, 49
  870.             ;minUIErr, maxUIErr, 95
  871.  
  872.             ;kODMinError, kODMinUsedError, 1
  873.  
  874.             ;minErr, maxErr, 210
  875.     }
  876. };
  877.  
  878. /* error technical explanations */
  879. /*
  880.    DO NOT DELETE ANY STRINGS FROM THE STR# resources. Simply empty them out.
  881.    Like this:   ;""
  882.    This we they don't get renumbered, we don't have to try and fix up the
  883.    'errs' resources to point to the renumbered indexes into the STR# resources.
  884. */
  885.  
  886. resource 'STR#' (kODErrSupportIDStrings,purgeable) {
  887.     {     "Unknown OpenDoc error. No name available. Please file a bug."
  888.         ,"kODErrIllegalNullInput"
  889.         ,"kODErrObjectNotInitialized"
  890.         ,"kODErrOutOfMemory"
  891.         ,"kODErrNotImplemented"
  892.         ,"kODErrReadErr"
  893.         ,"kODErrWriteErr"
  894.         ,"kODErrSubClassResponsibility"
  895.         ,"kODErrUnsupportedExtension"
  896. /* 10 */,"kODErrZeroRefCount"
  897.         
  898.         ,"kODErrIteratorOutOfSync"
  899.         ,"kODErrCannotEmbed"
  900.         ,"kODErrKeyAlreadyExists"
  901.         ,"kODErrWrongNameSpaceType"
  902.         ,"kODErrNoShapeGeometry"
  903.         ,"kODErrUnsupportedFramePositionCode"
  904.         ,"kODErrIllegalNullPartInput"
  905.         ,"kODErrIllegalNullTransformInput"
  906.         ,"kODErrPartHasNoSemanticInterface"
  907. /* 20 */,"kODErrUnsupportedPosCode"
  908.         
  909.         ,"kODErrInvalidPermissions"
  910.         ,"kODErrNoValueAtThatIndex"
  911.         ,"kODErrCannotAddProperty"
  912.         ,"Private Utilities error."
  913.         ,"kODErrUnfocusedStorageUnit"
  914.         ,"kODErrIllegalNullPropertyInput"
  915.         ,"kODErrIllegalNullSUCursorInput"
  916.         ,"kODErrInvalidStorageUnitRef"
  917.         ,"Private Shell error."
  918. /* 30 */,"kODErrInvalidStorageUnitKey"
  919.         
  920.         ,"kODErrStorageUnitNotLocked"
  921.         ,"kODErrNoDraftProperties"
  922.         ,"kODErrCannotCreateFrame"
  923.         ,"kODErrCannotAcquireFrame"
  924.         ,"kODErrCannotCreatePart"
  925.         ,"kODErrCannotAcquirePart"
  926.         ,"kODErrCannotCreateLink"
  927.         ,"kODErrCannotAcquireLink"
  928.         ,"kODErrInvalidCloneKind"
  929. /* 40 */,"kODErrInvalidBelowDraft"
  930.         
  931.         ,"Private Bento container suite error."
  932.         ,"kODErrCannotCollapseDrafts"
  933.         ,"kODErrNonEmptyDraft"
  934.         ,"kODErrNoPreviousDraft"
  935.         ,"kODErrOutstandingDraft"
  936.         ,"kODErrInvalidDraftID"
  937.         ,"kODErrCannotChangePermissions"
  938.         ,"kODErrContainerExists"
  939.         ,"Private Bento error."
  940. /* 50 */,"kODErrCannotGetExternalLink"
  941.         
  942.         ,"kODErrNoLinkSpecValue"
  943.         ,"kODErrUnknownLinkSpecVersion"
  944.         ,"kODErrCorruptLinkSpecValue"
  945.         ,"kODErrNotExportedLink"
  946.         ,"kODErrBrokenLink"
  947.         ,"kODErrNotImportedLink"
  948.         ,"kODErrBrokenLinkSource"
  949.         ,"kODErrDocNotSaved"
  950.         ,"kODErrNoDragManager"
  951. /* 60 */,"kODErrNoDragSystemStorage"
  952.         
  953.         ,"kODErrDragItemNotFound"
  954.         ,"kODErrCannotAllocateDragItem"
  955.         ,"kODErrUnknownDragImageType"
  956.         ,"kODErrDragTrackingException"
  957.         ,"kODErrFocusAlreadyRegistered"
  958.         ,"kODErrFocusNotRegistered"
  959.         ,"kODErrIllegalNullDispatchModuleInput"
  960.         ,"kODErrCannotMarkAction"
  961.         ,"kODErrEmptyStack"
  962. /* 70 */,"kODErrNoBeginAction"
  963.         
  964.         ,"kODErrCannotAddAction"
  965.         ,"kODErrCannotCreateWindow"    
  966.         ,"kODErrSOMException"
  967.         ,"kODErrInvalidObjectType"
  968.         ,"kODErrInvalidPersistentObjectID"
  969.         ,"kODErrRefCountNotEqualOne"
  970.         ,"kODErrCoundNotBindForeignDocument"
  971.         ,"kODErrPartInUse"
  972.         ,"kODErrAllWritableVolumesAreFull"
  973. /* 80 */,"kODErrSystemVolumeIsFull"
  974.  
  975.         ,"kODErrDirectoryNotHaveWriteAccess"
  976.         ,"kODErrCannotSaveACopyOntoCurrentDoc"
  977.         ,"kODErrCannotSaveACopyOntoBusyDoc"
  978.         ,"kODErrIllegalNullStorageSystemInput"
  979.         ,"kODErrCannotRevealLink"
  980.         ,"kODErrCorruptLink"
  981.         ,"kODErrLinkAlreadyExported"
  982.         ,"kODErrCorruptLinkSource"
  983.         ,"kODErrCannotFindLinkSourceEdition"
  984. /* 90 */,"kODErrCannotFindLinkSource"
  985.  
  986.         ,"kODErrAlreadyImportedLink"
  987.         ,"kODErrNullFacetInput"
  988.         ,"kODErrFileClosed"
  989.         ,"kODErrFileOpened"
  990.         ,"Private UI error."
  991.         ,"kODErrFatalContainerError"
  992.         ,"kODErrInvalidFrame"
  993.         ,"kODErrInvalidFacet"
  994.         ,"kODErrUndefined"
  995. /*100 */,"kODErrCannotDeferClone"
  996.  
  997.         ,"kODErrInvalidGraphicsSystem"
  998.         ,"kODErrTransformErr"
  999.         ,"Unused message slot. Please report this."
  1000.         ,"kODErrMemoryProblem"
  1001.         ,"kODErrInvalidNSName"
  1002.         ,"Unused message slot. Please report this."
  1003.         ,"Unused message slot. Please report this."
  1004.         ,"Unused message slot. Please report this."
  1005.         ,"kODErrInvalidStorageUnit"
  1006. /*110 */,"kODErrInvalidType"
  1007.  
  1008.         ,"Unused message slot. Please report this."
  1009.         ,"kODErrInvalidID"
  1010.         ,"kODErrInconsistentCloneKind"
  1011.         ,"kODErrInvalidLinkKey"
  1012.         ,"kODErrCannotCreateContainer"
  1013.         ,"kODErrCannotOpenContainer"    
  1014.         ,"kODErrInvalidDestinationDraft"    
  1015.         ,"kODErrInvalidDraftKey"    
  1016.         ,"kODErrCloningInProgress"    
  1017. /*120 */,"kODErrNoDocumentProperties"    
  1018.  
  1019.         ,"kODErrIllegalNullTokenInput"    
  1020.         ,"kODErrIllegalNullShapeInput"    
  1021.         ,"kODErrIllegalNullStorageUnitInput"    
  1022.         ,"kODErrCannotFindSystemEditorsFolder"    
  1023.         ,"kODErrCannotFindOpenDocLibrariesFolder"    
  1024.         ,"kODErrDoesNotUndo"    
  1025.         ,"kODErrPartNotWrapper"    
  1026.         ,"kODErrInvalidPersistentObject"    
  1027.         ,"kODErrCantLoadSOMClass"
  1028. /*130 */,"kODErrEditorLibraryNotFound"
  1029.  
  1030.          ,"kODErrCannotSaveAsOntoBusyDoc"
  1031.          ,"kODErrAlreadyNotified"
  1032.          ,"kODErrIllegalNullFacetInput"
  1033.          ,"kODErrIllegalNullFrameInput"
  1034.          ,"kODErrIllegalNullContainerInput"
  1035.          ,"kODErrIllegalNullDocumentInput"
  1036.          ,"kODErrIllegalNullDraftInput"
  1037.          ,"kODErrIllegalNullValueTypeInput"
  1038.          ,"kODErrIllegalNullIDInput"
  1039. /*140 */,"kODErrValueOutOfRange"
  1040.  
  1041.         ,"kODErrInsufficientInfoInParams"
  1042.          ,"kODErrInvalidPersistentFormat"
  1043.          ,"kODErrInvalidExtension"
  1044.          ,"kODErrUnknownExtension"
  1045.          ,"kODErrRefCountGreaterThanZero"
  1046.          ,"kODErrIteratorNotInitialized"
  1047.          ,"kODErrNoPromises"
  1048.          ,"kODErrDoesNotDrop"
  1049.          ,"kODErrInvalidNSName"
  1050. /*150 */,"kODErrInvalidNSType"
  1051.  
  1052.          ,"kODErrInvalidITextFormat"
  1053.         ,"kODErrInvalidPlatformShape"
  1054.          ,"kODErrFacetNotFound"
  1055.          ,"kODErrCanvasHasNoOwner"
  1056.          ,"kODErrNotRootFrame"
  1057.          ,"kODErrIllegalRecursiveEmbedding"
  1058.          ,"kODErrFrameHasFacets"
  1059.          ,"kODErrInvalidLinkStatus"
  1060.          ,"kODErrNotAnODToken"
  1061. /*160 */ ,"kODErrCantCountFromLists"
  1062.  
  1063.          ,"kODErrContainerDoesNotExist"
  1064.          ,"kODErrDocumentDoesNotExist"
  1065.         ,"kODErrDraftDoesNotExist"
  1066.          ,"kODErrDraftHasBeenDeleted"
  1067.          ,"kODErrIllegalOperationOnSU"
  1068.          ,"kODErrSUValueDoesNotExist"
  1069.          ,"kODErrIllegalNonTopmostDraft"
  1070.          ,"kODErrValueIndexOutOfRange"
  1071.          ,"kODErrInvalidValueType"
  1072. /*170 */,"kODErrIllegalPropertyName"
  1073.  
  1074.          ,"kODErrPropertyDoesNotExist"
  1075.          ,"kODErrMoveIntoSelf"
  1076.          ,"kODErrNullDestinationFrame"
  1077.         ,"kODErrNoLinkContent"
  1078.          ,"kODErrCannotRegisterDependent"
  1079.          ,"kODErrUnknownUpdateID"
  1080.          ,"kODErrCannotEstablishLink"
  1081.          ,"kODErrNoEditionManager"
  1082.          ,"kODErrNullLinkInfoInput"
  1083. /*180 */,"kODErrNullLinkInfoResultInput"
  1084.  
  1085.         ,"kODErrNullPasteAsResultInput"
  1086.          ,"kODErrBackgroundClipboardClear"
  1087.          ,"kODErrIllegalClipboardCloneKind"
  1088.          ,"kODErrInvalidCommandID"
  1089.         ,"dirFulErr"
  1090.         ,"dskFulErr"
  1091.         ,"nsvErr"
  1092.         ,"ioErr"
  1093.         ,"bdNamErr"
  1094. /*190 */,"nsvErr"
  1095.  
  1096.         ,"fnfErr"
  1097.         ,"wPrErr"
  1098.         ,"fLckdErr"
  1099.         ,"vLckdErr"
  1100.         ,"fBsyErr"
  1101.         ,"dupFNErr"
  1102.         ,"opWrErr"
  1103.         ,"permErr"
  1104.         ,"wrPermErr"
  1105. /*200 */,"dirNFErr"
  1106.  
  1107.         ,"memFullErr"
  1108.         ,"resNotFound"
  1109.         ,"resFNotFound"
  1110.         ,"fragLibNotFound"
  1111.         ,"fragHadUnresolveds"
  1112.         ,"kODErrNoSysTranslationFacility"
  1113.         ,"Unused message slot. Please report this."
  1114.         ,"Unused message slot. Please report this."
  1115.         ,"Unused message slot. Please report this."
  1116. /*210 */,"Unknown error, outside of OpenDoc error range. No name available."
  1117.     }
  1118. };
  1119.  
  1120.  
  1121.